// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__6A07B23F_A098_43A3_B913_E609612B2FA6__INCLUDED_)
#define AFX_STDAFX_H__6A07B23F_A098_43A3_B913_E609612B2FA6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions

#ifndef _AFX_NO_OLE_SUPPORT
#include <afxole.h>         // MFC OLE classes
#include <afxodlgs.h>       // MFC OLE dialog classes
#include <afxdisp.h>        // MFC Automation classes
#endif // _AFX_NO_OLE_SUPPORT


#ifndef _AFX_NO_DB_SUPPORT
#include <afxdb.h>			// MFC ODBC database classes
#endif // _AFX_NO_DB_SUPPORT

#ifndef _AFX_NO_DAO_SUPPORT
#include <afxdao.h>			// MFC DAO database classes
#endif // _AFX_NO_DAO_SUPPORT

#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT

#include <vector>
#include <list>
#include <math.h>
#include <stdio.h>
#include <uf.h>
#include <uf_defs.h>
#include <uf_exit.h>
#include <uf_ui.h>
#include <uf_styler.h>
#include <uf_mb.h> 
//#include "utilitys.h"
#include <uf_modl.h> 
#include <uf_part.h>
#include <uf_obj.h>
#include <uf_udobj.h>
#include <uf_assem.h>
#include <uf_attr.h>
#include <uf_disp.h>
#include "SmartHole.h"
#include "LittleHelp.h"

#include "UGOperation.h"

#define TEMLEN 16

using namespace std;

struct HoleData
{
	tag_t FirstFace;
	tag_t LastFace;
	tag_t Point;
	double Diameter;
	int dlg_id;
};

struct STRING
{
	char type[80];
};

struct InteractFace
{
	double point[3];
	tag_t assem_face_tag;
	tag_t part_face_tag;
	tag_t part_tag;
};


//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__6A07B23F_A098_43A3_B913_E609612B2FA6__INCLUDED_)
